<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>加载动画</title>
	<style>
		*{
			margin: 0;
			padding: 0;

		}
		.load-mianban{
			width: 650px;
			margin: 100px auto;
		}
		.load-item{
			width: 150px;
			height: 150px;
			border: 1px solid #ccc;
			float: left;
			margin: 0 5px;
			position: relative;
		}
		.load-a{
			position: absolute;
			top: 80px;
			left: 50%;
		}
		.load-a-item{
			width: 8px;
			height: 20px;
			background-color: skyblue;
			border-radius: 10px;
			animation: load-a-anim .5s  infinite;
			position: absolute;
			bottom: 0;
			left: 50%;
		}

		.load-a-item1{
			margin-left: 0;

		}
		.load-a-item2{
			margin-left: 13px;
			animation-delay: 0.3s;
		}
		.load-a-item3{
			margin-left: -13px;
			animation-delay: 0.3s;
		}
		.load-a-item4{
			margin-left: 26px;
			animation-delay: 0.5s;
		}
		.load-a-item5{
			margin-left: -26px;
			animation-delay: 0.5s;
		}

		@keyframes load-a-anim{
			0%{
				height: 20px;
			}
			50%{
				height: 25px;
			}
			100%{
				height: 20px;
			}
		}

		.load-b{
			position: relative;
			width: 50px;
			height: 50px; 
			margin: 30px auto;
		}
		.load-b-item{
			width: 10px;
			height: 20px;
			background-color: skyblue;
			position: absolute;
			animation: donghua-two 1.2s ease-in-out 0s infinite;
			border-radius: 10px;
		}
		.load-b-item1{
			top: -7px;
			left: 50%;
			margin-left: -5px;
			animation-delay: 0.12s;
		}
		.load-b-item2{
			top: 0px;
			right: 0px;
			transform: rotate(40deg);
			animation-delay: 0.24s;
		}
		.load-b-item3{
			bottom: 0px;
			right: 5px;
			transform: rotate(-30deg);
			animation-delay: 0.36s;
		}
		.load-b-item4{
			bottom: 0px;
			left: 8px;
			transform: rotate(30deg);
			animation-delay: 0.48s;
		}
		.load-b-item5{
			left: 5px;
			top: 2px;
			transform: rotate(-40deg);
			animation-delay: 4s;
			animation-delay: 0.6s;
		}

		@keyframes donghua-two{
			50%{
				opacity: 0;
			}
			100%{
				opacity: 1;
			}
		}
	</style>
</head>
<body>
<div class="load-mianban">
	<div class="load-item">
		<div class="load-a">
			<div class="load-a-item load-a-item1"></div>
			<div class="load-a-item load-a-item2"></div>
			<div class="load-a-item load-a-item3"></div>
			<div class="load-a-item load-a-item4"></div>
			<div class="load-a-item load-a-item5"></div>
		</div>
	</div>
	<div class="load-item">
		<div class="load-b">
			<div class="load-b-item load-b-item1"></div>
			<div class="load-b-item load-b-item2"></div>
			<div class="load-b-item load-b-item3"></div>
			<div class="load-b-item load-b-item4"></div>
			<div class="load-b-item load-b-item5"></div>
		</div>
	</div>
	<div class="load-item"></div>
	<div class="load-item"></div>

</div>



</body>
</html>